import api from '../utils/apiUtils';

// 获取个人中心
export function usersCenter (params) {
    return api.put('/shop/users/center', params);
  }
// 个人中心：修改密码
export function usersPassword (params) {
    return api.put('/shop/users/center/password', params);
  }
 
 //修改用户：个人中心
export function centerUpdate (params) {
    return api.put('/shop/users/center/update', params);
  }
 
//用户日志查询`
 export function logsUser (params) {
    return api.get('/shop/logs/user', params);
  }

// 图片上传
  export function uploadImage (params) {
    return api.post (`/shop/upload/uploadImage/AVATAR`, params);
  }
  
